package cn.wolfcode;

import com.netflix.ribbon.Ribbon;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient // 开启服务治理nacos, 用来管理服务列表
public class ProductServerApp {

    public static void main(String[] args) {
        SpringApplication.run(ProductServerApp.class,args);
    }

}
